package com.hyb.service;

import com.hyb.entity.Contacts;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyb.page.PageReq;

/**
 * <p>
 *  客户联系人Service接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
public interface ContactsService extends IService<Contacts> {

    void createContacts(Contacts contacts);

    PageReq loadContactsByCustomerId(Integer limit,Integer current,Integer customerId);

    Contacts getContactByContactId(Integer contactId);

    void updateContact(Contacts contacts);

    void deleteContactByContactId(Integer contactId);
}
